// @import "weatherNav";
.content-box {
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow: hidden;

    .select-city {
        display: flex;
        align-items: center;

        .select-box {
            width: 150px;
            margin: 10px 30px 10px 12px;

            .sel-box {
                border: 1px solid rgba(153, 153, 153, 1);
                border-radius: 4px !important;
            }

            .sel-title-box {
                background: rgba(255, 255, 255, 0.2);
                // border:1px solid rgba(153,153,153,1);
                border-radius: 4px;
            }
        }

        button {
            width: 80px;
            height: 28px;
            border-radius: 4px;
            background-color: rgb(64, 127, 255);
            color: #fff;
            outline: 0;
            border: 0
        }

    }
}

.center-box {
    // width: 60%;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
    margin:0 10px;
    .date-title {
        display: flex;
        text-align: center;
        color: #fff;
        font-size: 18px;
        line-height: 36px;

        b {
            display: flex;
            flex: 1;
            justify-content: center;

            span {
                width: 28px;
                height: 36px;
                margin-left: 5px;
                background: rgba(64, 127, 255, 0.2);
                border-radius: 4px;
                font-size: 32px;
                color: #FFF000;
            }
        }
    }

    #map {
        flex: 1;
    }

    .trend-box {
        display: flex;
        flex-direction: column;
        height: 200px;
        padding:0 10px;
        background-image: -moz-linear-gradient(90deg, rgba(126, 165, 243, .12) 0%, rgba(107, 180, 241, 0) 11%, rgba(41, 233, 233, 0) 50%, rgba(107, 181, 241, 0) 89%, rgba(126, 165, 243, 0.12) 100%);
        background-image: -webkit-linear-gradient(90deg, rgba(126, 165, 243, 0.12) 0%, rgba(107, 180, 241, 0) 11%, rgba(41, 233, 233, 0) 50%, rgba(107, 181, 241, 0) 89%, rgba(126, 165, 243, 0.12) 100%);
        background-image: -ms-linear-gradient(90deg, rgba(126, 165, 243, 0.12) 0%, rgba(107, 180, 241, 0) 11%, rgba(41, 233, 233, 0) 50%, rgba(107, 181, 241, 0) 89%, rgba(126, 165, 243, 0.12) 100%);

        #trend {
            flex: 1;
        }
    }
}

.left-box {
    flex: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .left-main {
        flex: 1;
        display: flex;
        flex-direction: column;
        background: none;
        overflow: hidden;
        padding: 0 10px;
    }

    .select-city {
        display: flex;
        flex-direction: column;

        .city-box {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin: 10px 0;
        }

        select {
            display: inline-block;
            width: auto;
            vertical-align: middle;
            width: 40%;
            height: 26px;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(153, 153, 153, 1);
            border-radius: 4px;
            line-height: 26px;
            font-size: 12px;
            color: #fff;
            background-image: none;
            -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
            -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

            option {
                color: #000;
            }
        }

        .input-box {
            position: relative;
            width: 100%;
            height: 28px;
            background: rgba(255, 255, 255, 0);
            border: 1px solid rgba(20, 198, 202, 1);
            border-radius: 4px;

            input {
                width: 100%;
                height: 100%;
                background-color: transparent;
                border: 0;
                padding: 0 10px;
                color: #fff;
            }

            button {
                position: absolute;
                right: 10px;
                top: 50%;
                width: 40px;
                transform: translateY(-50%);
                background: transparent;
                border: 0;
                outline: 0;
            }
        }
    }

    .list-box {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;

        .content-list {
            flex: 1;
            overflow: auto;
            padding-right: 10px;

            ul {
                li {
                    display: none;
                    overflow: hidden;

                    &.active {
                        display: block;
                    }

                    div {
                        display: flex;
                        flex-direction: column;
                        padding: 10px 0;
                        color: #ccc;
                        border-bottom: 1px solid #333;

                        span {
                            margin: 2px 0 12px;
                            font-size: 14px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }

                        p {
                            display: flex;
                            justify-content: space-between;
                            font-style: none;
                            font-size: 12px;
                            color: #089e91;
                        }
                    }
                }
            }
        }

        .title-list {
            // flex: 1;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            height: 36px;
            border-bottom: 1px solid #999;

            ul {
                display: flex;
                justify-content: space-between;

                li {
                    margin-right: 6px;
                    line-height: 36px;
                    height: 36px;
                    cursor: pointer;
                    font-size: 12px;
                    color: #fff;

                    &.active {
                        color: #E15D68;
                    }
                }
            }

            button {
                width: 48px;
                height: 24px;
                background: rgba(255, 255, 255, 0.2);
                border-radius: 4px;
                color: #12A3A8;
                outline: 0;
                border: 0;
            }
        }
    }

    .key-box {
        display: flex;
        flex-direction: column;
        background: none;
        padding:0 10px;
        // min-height: 240px;
        // max-height: 280px;
    height:200px;

        #key {
            flex: 1;
        }
    }
}

.right-box {
    flex: 2;
    display: flex;
    flex-direction: column;
    >div:not(.hot-box){
        display: flex;
        flex-direction: column;
        flex: 1;
        // background: none;
        padding:0 10px;
        .echart-box {
            flex: 1;
        }
    }

    .channel-box {
        .title-box {
            display: flex;

            h3 {
                flex: 1;
            }
        }
    }

    .hot-box {
        // min-height: 240px;
        // max-height: 280px;
        height:200px;
            padding:0 10px;
            display:flex;
            flex-direction: column;
        .hot-details {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;

            .title-list {
                max-width: 100%;
                // min-height: 36px;
                overflow-x: auto;
                white-space: nowrap;

                // border-bottom: 1px solid #999;
                &::-webkit-scrollbar {
                    display: none
                }

                li {
                    display: inline-block;
                    position: relative;
                    height: 28px;
                    padding-right: 40px;
                    margin-right: -4px;
                    line-height: 28px;
                    font-weight:bold;
                    cursor: pointer;

                    &.active {
                        color: #E15D68;
                    }

                    &:before {
                        content: '';
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        width: 100%;
                        height: 1px;
                        background: #999;
                    }
                }
            }

            .content-list {
                flex: 1;
                overflow-y: auto;

                &::-webkit-scrollbar {
                    display: none
                }

                li {
                    display: none;
                    width: 100%;

                    &.active {
                        display: block;
                    }

                    >div {
                        display: flex;
                        margin: 10px 0;

                        >div {
                            flex: 1;
                            display: flex;
                            align-items: center;
                            max-width: 50%;
                        }

                        i {
                            width: 38px;
                            height: 38px;
                            margin-right: 10px;
                            border-radius: 50%;
                            overflow: hidden;

                            img {
                                width: 100%;
                            }
                        }

                        p {
                            flex: 1;
                            overflow: hidden;
                            font-size: 12px;
                            font-weight:bold;
                            color: #999;

                            span {
                                display: block;
                                margin-bottom: 10px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                color: #14C6CA;
                            }
                        }
                    }
                }
            }
        }
    }
}